dtctl CLI
dtctl is the official command-line interface (CLI) for DT Cloud CCE. It lets you create, configure,
and manage your CCE resources directly from your terminal, and script and automate workflows that
would otherwise be done in the console.
Features
dtctl talks to DT Cloud from the command line and supports your CCE resources, including:
- Compute — virtual machines (with cloud-init or SSH-key access, GPU images, and batch creation), flavors, images, and SSH keys.
- Storage — volumes, snapshots, backups, and backup plans.
- Networking — networks and subnets, routers, security groups, floating (elastic) IPs, and VPN connections.
- Load balancing — load balancers with listeners, pools, members, and health monitors.
- Kubernetes — managed clusters and node groups.
- Account — authentication, region and project selection, and quotas.
Every command supports human-readable text output (the default) and machine-readable --output json
for scripting.
Documentation
- How to Install dtctl — install and configure
dtctlon Windows, macOS, or Linux. - Command Reference — a complete reference for every command, grouped by resource in the sidebar. Start with Authentication, Virtual Machines, or Kubernetes.
Getting started
After installing, authenticate and select a region and project:
# Authenticate with your DT Cloud API key (access key + secret key)
dtctl auth init
# Select the region (server) to work in, then confirm your project
dtctl region init
dtctl project list
# List your virtual machines
dtctl virtual-machine list